﻿using System;
using System.IO;
using System.Threading.Tasks;
using System.Xml;

namespace Restful.Net.Serialization.XmlSerialization
{
    public class XmlObjectSerializer
    {
        public async Task<object> Deserialize(Type expectedType, Stream inputStream)
        {
            XmlReader reader = XmlReader.Create(inputStream);
            bool read = await reader.ReadAsync();


            Console.WriteLine(reader.LocalName);
            
            return null;
        }


    }
}
